package org.maxkey.portal;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 1800)//session过期时间(秒)
@SpringBootApplication
public class WebSpringApplication {

    public static void main(String[] args) {
        SpringApplication.run(WebSpringApplication.class, args);
    }
}